<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/common/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/common/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/common/menu.jsp"></jsp:include>
		<div id="right">
		    <jsp:include page="/WEB-INF/page/common/localinfo.jsp" />
			<div class="col-md-12" id="content_div">
				
				<div id="tb" style="height:auto;padding: 5px;">
					<form id="searchForm" method="post">
						学校名称:<input name="schoolName" class="easyui-validatebox"/>
						所在城市:<input name="city" class="easyui-combobox" style="width:120"
								data-options="
									url:'<%=basePath %>/content/dict/json/dictData/dictCode?code=city',
									method:'get',
									valueField:'dictDataKey',
									textField:'dictDataValue',
									panelHeight:'auto'
								">
						<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="searchForm('searchForm')">查询</a>
						<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-clear',plain:true" onclick="resetForm('searchForm')">重置</a>
					</form>
					<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="add('schoolManageDg')">新增</a>
					<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onclick="remove('schoolManageDg')">删除</a>
					<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="update('schoolManageDg')">修改</a>
					<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-undo',plain:true" onclick="reject('schoolManageDg')">取消</a>
					<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="save('schoolManageDg')">保存</a>
				</div>
				
				<table id="schoolManageDg" class="easyui-datagrid" style="height: 360px;"></table>
				
			</div>
		</div>
	</div>
	<jsp:include page="/WEB-INF/page/common/_footer.jsp"/>
	<script type="text/javascript" src="<%=basePath %>/js/school/manage.js"></script>
</body>
</html>